import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/index'


import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

// element 改变主题
import './common/css/element-variables.scss'


// import vconsole from "vconsole";
// const vConsole  = new vconsole()
// export default vConsole;
Vue.use(ElementUI);
Vue.config.productionTip = false
import axios from 'axios'
// 设置跨域

Vue.prototype.axios = axios

import echarts from 'echarts'
Vue.prototype.$echarts = echarts;

import htmlToPdf from '@/common/js/htmlToPdf'
Vue.use(htmlToPdf)

// import 'lib-flexible/flexible.js'
import '@/common/js/flexible'

import "@/common/js/mock"


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
